<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<h:head>
</h:head>
<h:body>
    <h1>Technos Escola - Curso de JSF com PrimeFaces</h1> 
    <h:form>   
      <h:panelGrid columns="4" cellpadding="5">  
        <h:outputLabel for="name" value="Name:" style="font-weight:bold"/>  
        <p:inputText id="name" value="#{meuBean.primeiroNome}" />   
        <p:commandButton value="Submit" update="display" action="#{meuBean.mostrarpagina}"/>  
        <h:outputText value="#{meuBean.primeiroNome}" id="display" />  
       </h:panelGrid> 
	<p:editor value="#{meuBean.value}" />
	</h:form>
</h:body>
</html>